<?php

include("../lib/db.lib");
include("../lib/std.lib");

$shop_id=param("shop_id");
$pd_id=param('pd_id');
$title=product_get_title($shop_id,$pd_id);
$pd_info=product_info($pd_id);
$author=$pd_info["author"];
$date=$pd_info["date"];

?>

<HTML>
<HEAD>
<TITLE>Catalog display</TITLE>
<META NAME='KEYWORDS' CONTENT=''/>
<LINK REL="stylesheet" HREF="wiki.css">
<META NAME="description" content="">
<meta http-equiv="Content-Style-Type"  content="text/css">
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="Content-Type"   content="text/html; charset=GB2312">
</HEAD>
<body>
<br>
<h2>Update the product title:</h2>

<form action="d_product_update.php" method="post">
<input type="hidden" name="pd_id" value="<?php echo $pd_id;?>" >
Title: <input type="text" name="pd_title" value="<? echo $title; ?>" size="60">
<br>
Author:<input type="text" name="pd_author" value="<? echo $author; ?>" size="20">
Date:<input type="text" name="pd_date" value="<? echo $date; ?>" size="10">
<br>
(Password needed: <input type=password name="pwd" value="" size=5> ) <input type="submit" name="sub" value="update the title">

</form>

<?php include("copyright.php");?>
</body>
</html>
